
import 'package:flutter/cupertino.dart';

import '../../utils/Settings.dart';

class LCellListState{

  late String axiosUrl;
  late int pageSize;
  late List initQuery;
  late List initOrder;
  late bool isAutoLoad;
  late List queryFormAttributes;
  late Map queryFromData;
  late String dictCodes;
  late List dictCodeReplaceFields;
  late int currentPage;//当前页码
  late bool finished; //是否是最后一页
  late List list;//数据
  late Map dataCenter;
  late ScrollController scrollController;
  late double distance;
  late Function buildItemWidget;
  late String tag;

  LCellListState(){
    axiosUrl = "";
    pageSize = Settings.pageSize;
    initQuery = [];
    initOrder = [];
    isAutoLoad = true;
    queryFormAttributes = [];
    queryFromData = {};
    dictCodes = "";
    dictCodeReplaceFields = [];
    currentPage = 1;
    finished = false;
    list = [];
    dataCenter = {//请求后台时传入的数据
      "pageNo":1,
      "pageSize":pageSize,
      "orderColumns":[],
      "queryForm":[],
    };
    scrollController =  ScrollController();
    distance = 40.0;
  }
}